<script setup>
import {router} from "@/router/index.js";
</script>

<template>
  <el-result
      icon="warning"
      title="404"
      sub-title="页面未找到！"
  >
    <template #extra>
      <el-button type="primary" @click="router.replace('/')">返回首页</el-button>
    </template>
  </el-result>
</template>

<style scoped>

</style>
